package com.epoque.admin.server;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import tk.mybatis.spring.annotation.MapperScan;


/**
 * 
 * @ClassName: AdminServerApplication
 * @Description: 后台管理系统服务启动类
 * @author qiuxianfeng
 * @date 2018年8月29日
 *
 */
@SpringBootApplication
@EnableEurekaClient
@MapperScan(basePackages = "com.epoque.admin.server.mapper")
@ServletComponentScan("com.epoque.admin.server.config.druid")
public class AdminServerApplication{
    public static void main(String[] args) {
    	new SpringApplicationBuilder(AdminServerApplication.class).web(true).run(args);
    }

}
